Skip to main content

Update person mobile number

PUT /api/v1/PersonNumber/Update

Description

This endpoint is used to update a person mobile number.

Tags: PersonNumber

URL:
/api/v{version}/PersonNumber/Update

ApiKey:
No API key required

Content-Type:
application/json, text/json, application/*+json

Query Parameters:
version: string, required
Accept-Language: header, optional, change the default response message language from English(en) to French(fr) or English(en)

Request Body:
UpdatePersonNumber

Response:
Success, returns a StringResponse object indicating the update was successful.
400: Bad Request
404: Not Found

Example:

/api/v1/PersonNumber/Update

Headers

Content-TypeValue
Accept-Language

Headers

Content-TypeValue
Content-Typeapplication/json

Headers

Content-TypeValue
Accepttext/plain

Body (raw)

{
"id": `<uuid>`,
"personId": `<uuid>`,
"mobileNumber": `<string>`,
"phoneNumberCode": `<string>`
}

Response: 200

{
"succeeded": `<boolean>`,
"message": `<string>`,
"errors": [
`<string>`,
`<string>`
],
"data": `<string>`
}

Response: 400

{
"succeeded": `<boolean>`,
"message": `<string>`,
"errors": [
`<string>`,
`<string>`
],
"data": `<string>`
}

Response: 404

{
"succeeded": `<boolean>`,
"message": `<string>`,
"errors": [
`<string>`,
`<string>`
],
"data": `<string>`
}

LANGUAGE

AUTHORIZATION

Bearer

CURL REQUEST


curl --request PUT \ 
--url /api/v1/PersonNumber/Update \
--header 'accept: application/json' \
--header 'content-type: application/json'

RESPONSE


Click Try It! to start a request and see the response here!